<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>万息科技有限公司</title>
    <link rel="shortcut icon" type="image/x-icon" href="../../img/icon.ico"/>
    <link rel="stylesheet" href="../../css/back/register.css">
    <script src="../../js/jquery-3.5.1.js"></script>
    <script src="../../js/back/register.js"></script>
    <script src="../../js/wangEditor.js"></script>
</head>
<body>
<div class="content">
    <div><label>用户名：</label>
        <span>*</span>
        <input type="text" id="username" name="username">
        <p id="unm_tips" class="tips"></p>
    </div>

    <div><label>密码：</label>
        <span>*</span>
        <input type="password" id="password" name="password">
        <p id="psd_tips" class="tips"></p>
    </div>

    <div><label>确认密码：</label>
        <span>*</span>
        <input type="password" id="confirmPassword" name="confirmPassword" onblur="confirmPassword()">
        <p id="psd_cfm_tips" class="tips"></p>
    </div>

    <div><label>手机号:</label>
        <span>*</span>
        <input type="text" id="phone" name="phone">
        <p id="phone_tips" class="tips"></p>
    </div>

    <div><label>验证码:</label>
        <span>*</span>
        <input type="text" id="codeipt" name="code" pattern="[a-zA-z]/d{4}"><img id="codeimg" src="/code" onclick="flushCode()">
        <p id="code_tips" class="tips"></p>
    </div>
    <div><label>性别:</label>
        <span>*</span>
        <div>
            <label><input type="radio" name="sex" value="保密" checked="checked">保密</label>
            <label><input type="radio" name="sex" value="男">男</label>
            <label><input type="radio" name="sex" value="女">女</label>
        </div>
    </div>

    <div><label>生日:</label>
        <span>*</span>
        <input type="date" name="birth" id="birth">
        <p id="birth_tips" class="tips"></p>
    </div>

    <div><label>爱好:</label>
        <span>*</span>
        <label><input type="checkbox" name="hobby" value="篮球">篮球</label>
        <label><input type="checkbox" name="hobby" value="足球">足球</label>
        <label><input type="checkbox" name="hobby" value="羽毛球">羽毛球</label>
    </div>
    <div><label>自我评价:</label>
        <span>*</span>
        <div id="intro_editor" class="editor"></div>
        <textarea id="intro" name="intro" hidden="hidden"></textarea>
        <p id="intro_tips" class="tips"></p>
    </div>
    <div>
        <input type="button" value="注册" onclick="register()">
        <input type="button" value="登录" onclick="window.location.href='/back/login'">
    </div>
</div>
</body>
</html>